<?php
class Department_model extends MY_Model {
	public function __construct(){
		parent::__construct();	
		$this->setTableName('u_c_department');
	}
	
	public function isMinister($did,$tid){
		$r = $this->select('classid','classid='.$did.' AND tid='.$tid);
		return $r;
	}
}
?>